﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using System.Collections;
using System.Data;

namespace DAO
{
    public class BaoCaoDAO
    {
        public static int ThemBaoCao(BaoCaoDTO dv)
        {
            string sql;
            sql = "Insert into BaoCao(MaBaoCao, ThangBaoCao,TrangThai) values ('" + dv.MaBaoCao + "','" + dv.ThangBaoCao + "'," + dv.TrangThai + ")";
            int kq = DataAccess.ExcuNonQuery(sql);
            return kq;
        }
    }
}
